package it.uniroma2.mpsr.resources;

public class Centre {

	private String kind, name;
	private double serviceTime;
	private double mu;
	private int multiplicity;

	public Centre(String kind, double meanValue, int multiplicity, String name) {
		this.name = name;
		this.kind = kind;
		this.serviceTime = meanValue;
		this.mu = 1 / meanValue;
		this.multiplicity = multiplicity;
	}

	public String getName() {
		return name;
	}

	public String getKind() {
		return kind;
	}

	public double getServiceTime() {
		return serviceTime;
	}
	
	public double getMu() {
		return mu;
	}

	public int getMultiplicity() {
		return multiplicity;
	}

	@Override
	public String toString() {
		return new String(name + " " + kind + " " + serviceTime + " " + multiplicity);
	}
	
}
